@import '@/style/common.scss';

.login-page {
  position: relative;
  width: 100%;
  height: 100%;
  @include flex-box;
  overflow: auto;

  .bg {
    @include position-abs;
    @include flex-box;
    overflow: hidden;

    .image {
      width: auto;
      min-width: 100%;
      height: auto;
      min-height: 100%;
      object-fit: cover;
    }
  }

  .login-wrapper {
    flex: 0 0 480px;
    position: relative;
    width: 480px;
    height: 440px;
    padding: 0 80px;
    background-color: #fff;
    border-radius: 4px;

    .title {
      padding: 40px 0;
      font-size: 24px;
      font-weight: bold;
      text-align: center;
    }

    ::v-deep .el-form {

      .el-input__inner {
        height: 48px;

        &::-webkit-outer-spin-button, &::-webkit-inner-spin-button {
          -webkit-appearance: none;
        }

        &[type="number"] {
          -moz-appearance: textfield;
        }
      }

      .el-input__icon {
        line-height: 48px;
      }

      .el-button {
        width: 100%;
        padding: 16px 20px;
      }

      .iconfont {
        float: right;
        height: 48px;
        line-height: 48px;
        width: 24px;
        cursor: pointer;
      }
    }

    .actions {
      display: flex;
      justify-content: space-between;
    }
  }
}